<?php
    $user = current($params);
    if ($user['name'] == 'test') {
        //throw new Exception('测试账号已经被封', 100500);
    }